package com.isoft.pojo.dto;

import lombok.Data;
import java.util.List;

@Data
public class TableCreateDTO {

    private Integer systemId;
    private String systemName;
    private String tableCode;
    private String tableName;
    private String description;
    private List<FieldDTO> fields;

    @Data
    public static class FieldDTO {
        private String name;
        private String type;
        private String description;
        private String classification;
        private String securityLevel;
        private Boolean isPrimary;
        private Boolean isNullable;
        private Boolean isPrimaryKey;


    }
}